import { IsNotEmpty } from 'class-validator';
export class UpdateUserDto {
  @IsNotEmpty({
    message: '昵称不能为空',
  })
  nickName: string;
  @IsNotEmpty({
    message: '头像不能为空',
  })
  avatar: string;
}
